package org.john.auth.client.model.type;

import org.john.common.enums.ValuedEnum;

public enum Role implements ValuedEnum {
	ADMINISTRATOR((short) 0),

	NORMAL_USER((short) 1);

	private short value;

	Role(short value) {
		this.value = value;
	}

	@Override
	public short getValue() {
		return this.value;
	}

	@Override
	public String getName() {
		return name();
	}
}
